//
//  JSQXTitleCell.m
//  JigSaw
//
//  Created by Slim Wang on 15/3/1.
//  Copyright (c) 2015年 LITB. All rights reserved.
//

#import "JSXQTitleCell.h"
#import "UIColor+Help.h"
@interface JSXQTitleCell ()

@property(nonatomic ,weak)IBOutlet UIImageView* iv;

@end

@implementation JSXQTitleCell

- (void)awakeFromNib {
    // Initialization code
    [super awakeFromNib];
    self.backgroundColor = [UIColor clearColor];
    self.iv.hidden = YES;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    if (selected) {
        self.iv.hidden = NO;
        self.title.textColor = [UIColor colorWithHex:0xffffff alpha:1];
    } else {
        self.title.textColor = [UIColor colorWithHex:0xffffff alpha:0.5];
        self.iv.hidden = YES;
    }
    // Configure the view for the selected state
}

@end
